package com.geostar.constructionland.common.entity.response.model;

import com.geostar.constructionland.common.entity.response.AdjustAgrVersion;
import com.geostar.constructionland.common.entity.response.LandInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author yelll
 * @since 2020-5-25 17:31
 * 平差算法参数对象
 **/
@Data
public class AdjustModel {
    @ApiModelProperty(value = "案卷主键",name = "ywid")
    private String ywid;
    @ApiModelProperty(value = "分析标示",name = "fxbs")
    private String fxbs;
    @ApiModelProperty(value = "算法类型",name = "analyseType")
    private String analyseType;
    @ApiModelProperty(value = "算法版本",name = "adjustVersion")
    private String adjustVersion;
    @ApiModelProperty(value = "平差算法主体信息",name = "adjustAgrVersion")
    private AdjustAgrVersion adjustAgrVersion;
    @ApiModelProperty(value = "地块信息",name = "landInfos",required = true)
    @NotEmpty
    private List<LandInfo> landInfos;
    @ApiModelProperty(value = "需要平差的总数",name = "adjustTotal")
    private double adjustTotal;
}
